package com.flyco.modules.stm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.flyco.modules.stm.entity.StmStoreMessageAttachment;
import com.flyco.modules.stm.mapper.StmStoreMessageAttachmentMapper;
import com.flyco.modules.stm.service.IStmStoreMessageAttachmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 店铺通知关联表
 * @Author: flyco
 * @Date:   2022-10-09
 * @Version: V1.0
 */
@Service
public class StmStoreMessageAttachmentServiceImpl extends ServiceImpl<StmStoreMessageAttachmentMapper, StmStoreMessageAttachment> implements IStmStoreMessageAttachmentService {
	
	@Autowired
	private StmStoreMessageAttachmentMapper stmStoreMessageAttachmentMapper;
	
	@Override
	public List<StmStoreMessageAttachment> selectByMainId(Long mainId) {
		return stmStoreMessageAttachmentMapper.selectByMainId(mainId);
	}
}
